package com.tai.design.visitor;

/**
 * The interface Animal.
 *
 * @version v1.0
 * @ClassName: Animal
 * @Description: 抽象元素角色类
 * @Author: taylor
 */
public interface Animal {

    /**
     * Accept.
     *
     * @param person the person
     */
//接受访问者访问的功能
    void accept(Person person);
}
